package com.fly.dao;

import java.util.List;

import com.fly.common.PaginationSupport;
import com.fly.model.Users;
import com.fly.model.UsersExample;

@SuppressWarnings("rawtypes")
public interface UsersDAO
{
    int countByExample(UsersExample example);
    
    int deleteAll();
    
    int deleteByExample(UsersExample example);
    
    int deleteByPrimaryKey(Integer id);
    
    void deleteByPrimaryKey(List<Integer> ids);
    
    void insert(Users record);
    
    void insert(final List<Users> records);
    
    void insertSelective(Users record);
    
    void insertSelective(List<Users> records);
    
    List<Users> selectAll();
    
    List<Users> selectByExample(UsersExample example);
    
    Users selectByPrimaryKey(Integer id);
    
    int updateByExampleSelective(Users record, UsersExample example);
    
    int updateByExample(Users record, UsersExample example);
    
    int updateByPrimaryKeySelective(Users record);
    
    void updateByPrimaryKeySelective(List<Users> records);
    
    int updateByPrimaryKey(Users record);
    
    void updateByPrimaryKey(List<Users> records);
    
    PaginationSupport queryPagingEntities(UsersExample example, int pageNo, int pageSize);
}